package com.test.representation;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * Created by lichangbin@xwbank.com on 2018/7/2
 */
@Getter
@Setter
public class OrderRepresentation implements Serializable {

  private Long id;
  private Long userId;
  private String orderNumber;
  private BigDecimal amount;

  @Override
  public String toString() {
    return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
  }
}
